home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
0769B.ZIP
/
VERTMENU.DOC
< prev
next >
Wrap
Text File
|
1987-10-02
|
1KB
|
19 lines
VERTMENU.PRG is copyrighted 1987, Gregory J. Scott, and placed into
the public domain. Used with VERTMENU.DBF, a sample menu database.
The program works as follows: text for the menu choices and for the
menu "consequences" of each choice are contained in VERTMENU.DBF.
No more than 32 records will be processed, and the last one will
always be the "exit" response. Also, if you type "Y"
The structure of the database is as follows:
PROMPT C 35 0 This is shortened to allow two columns.
MESSAGE C 78 0 This is short enough to fit on the screen.
DOPROC C 1 0 This is a test field to call a proc named
after the menu option number.
COMMAND1 C 80 0 These are five commands. There is no reason you
COMMAND2 C 80 0 could not add more, or make them longer, if you
COMMAND3 C 80 0 wanted to do so.
COMMAND4 C 80 0
COMMAND5 C 80 0
The program itself is fairly heavily commented.
VERTMOUT.PRG is an the code generated by VERTMENU.EXE using
VERTMENU.DBF